package matchthreegame.handlers;

import matchthreegame.extensions.MatchThreeGameRoomExtension;

import com.smartfoxserver.v2.entities.User;
import com.smartfoxserver.v2.entities.data.ISFSObject;
import com.smartfoxserver.v2.extensions.BaseClientRequestHandler;

public class RematchRequestHandler extends BaseClientRequestHandler {

	MatchThreeGameRoomExtension roomExtension;

	@Override
	public void handleClientRequest(User user, ISFSObject params) {

		trace("REMATCH send !");
		
		roomExtension = (MatchThreeGameRoomExtension)getParentExtension();
		roomExtension.startNewGame();
		
	}

}
